package com.yuhs.zixing.study.design.pattern.dp002.structural.s002.bridge.b001;

/**
 * @description:
 * @author: yuhs
 * @date: 2022/5/1 5:58 PM
 */
public class Client001 {
    public static void main(String[] args) {
        System.out.println("-------房地产公司是这样运行的-------");
        //先找到我的公司
        HouseCorp001 houseCorp = new HouseCorp001();
        //看我怎么挣钱
        houseCorp.makeMoney();
        System.out.println("\n");
        System.out.println("-------服装公司是这样运行的-------");
        ClothesCorp001 clothesCorp = new ClothesCorp001();
        clothesCorp.makeMoney();
        System.out.println("-------山寨公司是按这样运行的-------");
        IPadCorp001 iPodCorp = new IPadCorp001();
        iPodCorp.makeMoney();
    }
}
